package model;

import enmu.OrderStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order {
    //订单ID
    private String orderId;
    //商品列表
    private List<Item> items;
    //订单状态
    private OrderStatus status;
    //总价
    private double totalPrice;
    //订单创建时间
    private LocalDateTime createTime;
}
